package com.exam.api.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author bcheng
 * @Create 2024/1/13 11:58
 * @Description 删除状态 0 未删除 1 删除
 */
@Getter
@AllArgsConstructor
public enum IsDelete {

    /**
     * 未删除
     */
    NOT_DELETED(0, "未删除"),

    /**
     * 未删除
     */
    NO(IsDelete.NOT_DELETED.getCode(), IsDelete.NOT_DELETED.getComment()),
    /**
     * 删除
     */
    DELETE(1, "删除"),

    /**
     * 删除
     */
    YES(IsDelete.DELETE.getCode(), IsDelete.DELETE.getComment());

    /**
     * Code
     */
    private final Integer code;
    /**
     * 备注
     */
    private final String comment;
}
